Skip to content

fix(macos): explain a feature a company license leaves out instead of jumping to Account - #4694

Merged
datlechin merged 3 commits into
mainfrom
fix/mac-license-gate-without-action
Nov 28, 2026
Merged

datlechin merged 3 commits into
mainfrom
fix/mac-license-gate-without-action

Conversation

@datlechin

@datlechin datlechin commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • A feature gate with no way out, such as a feature a company license leaves out, now shows its alert with OK and leaves the person where they were. It used to open Settings > Account instead, which never says why. On main this reaches Compare & Sync and Data Rewind; on r1 it also covers choosing iCloud in Settings > Sync, where the picker keeps its value.
  • Account > Features takes each locked row's wording from that feature's gate. On a company license a row reads "X is not part of your organization's license", and one footnote says to ask the administrator. Personal and SaaS free plans keep "X needs a paid plan".
  • A paying account that is expired or past its device limit now sees its gate's own wording on locked rows, not "needs a paid plan".
  • LicensePresentation.notIncluded(_:sellsPlans:) holds the wording the gate and the Features page share.

Test plan

  • LicensePresentationTests, new cases:
    • Company license without the feature: organization wording, footnote shown, alert with OK only and no actions.
    • Personal free plan: paid-plan wording, no footnote, alert with Upgrade Plan and Cancel.
    • Company license with every feature: no footnote.
  • verify.sh test LicensePresentationTests AccountSettingsContentTests FeatureAccessTests CompareSyncModuleResidueTests SettingsPaneURLIdentifierTests SettingsTitleResolverTests: PASS, 80 of 80.
  • localization.py extracted: the footnote string added to the catalog.
  • verify.sh lint on the four files: PASS.
  • Codex review and security pass: one finding, the footnote string missing from the catalog, fixed.

@datlechin
datlechin merged commit c8beb2d into main Nov 28, 2026
1 of 2 checks passed
@datlechin
datlechin deleted the fix/mac-license-gate-without-action branch November 28, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant